Hybris UX Api icon

Hybris UX Api

(0 reviews)

TMF666 GET - billingAccount

List billingAccount (TMF666)

/billingAccount

[GET]

This operation retrieves a billing account entity using msisdn or account No.

URL

https://[localhost]:[port]/ecom-ux/v1/{businessId}/billingAccount

URL Params

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y

Headers

nametypedescriptionrequired
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Y
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y

Query Param

nametypedescriptionrequired
relatedParty.idstringService number associated with the accountY*
idstringBilling Account NumberY*
expandstringPossible value : relatedPartyN

[GET] Retrieve Account Details By MSISDN/ACCOUNT NO. Response

[
  {
    "id": "969221000100",
    "accountType": "R",
    "description": "Residencial",
    "paymentStatus": "Active",
    "state": "W-Working",
    "name": "Mr John Doe",
    "accountBalance": [
      {
        "amount": {
          "value": 0,
          "unit": "JMD"
        },
        "balanceType": "DepositRequired"
      },
      {
        "amount": {
          "value": 0,
          "unit": "JMD"
        },
        "balanceType": "DepositHeld"
      },
      {
        "amount": {
          "value": 0,
          "unit": "JMD"
        },
        "balanceType": "LastPayment Amount",
        "validFor": {
          "endDateTime": "2025-06-30T00:00:00.000-05:00"
        }
      },
      {
        "amount": {
          "value": 0,
          "unit": "JMD"
        },
        "balanceType": "Overdue Amount"
      }
    ],
    "billStructure": {
      "cycleSpecification": {
        "id": "U",
        "paymentDueDate": "2025-07-12T00:00:00.000-05:00"
      },
      "presentationMedia": [
        {
          "id": "E",
          "name": "Electronic Bills"
        }
      ]
    },
    "contact": [
      {
        "contactName": "John Doe",
        "contactMedium": [
          {
            "mediumType": "BillingAddress",
            "characteristic": {
              "street1": "35",
              "street2": "sullivan avenue",
              "city": "KINGSTON",
              "stateOrProvince": "ST.ANDREW",
              "postCode": "00006"
            }
          },
          {
                    "mediumType": "Email",
                    "characteristic": {
                        "contactType": "Email",
                        "emailAddress": "johndoe@gmail.com"
                    }
           }
        ]
      }
    ]
  },
  {
    "paymentPlan": [
      {
        "priority": 0,
        "planType": "C"
      }
    ]
  },
  {
    "relatedParty": [
      {
        "id": "4555245",
        "name": "Mr John Doe",
        "role": "Customer",
        "@referredType": "Individual",
        "individualIdentification": [
                {
                    "identificationId": "4555245",
                    "identificationType": "TR"
                }
        ],
        "title": "Mr",
        "givenName": "John",
        "legalName": "Doe",
        "birthDate":"1996-09-22T00:00:00.000-05:00"
      },
    {
                    "id": "1",
                    "name": "Salvatore",
                    "@referredType": "Organization"
    }
    ]
  },
  {
    "defaultPaymentMethod": {
      "id": "E",
      "name": "Electronic"
    }
  }
]

Response Data Model:

Each of the response parameters is detailed.

nametypedescriptionrequired
idstringBilling Account NumberN
accountTypestringA categorization of an account, Possible Value - RN
descriptionstringname of the account ownerN
namestringname of the billing accountN
statestringContains the lifecycle state such as: "W-Working"N
paymentStatusstringpossible value "Active"N
accountBalancearrayBalances linked to the accountN
accountBalance.balanceTypestringType of the balance ; LastPaymentAmount, ReceivableBalanceN
accountBalance.amountstringBalance amountN
accountBalance.amount.unitstringUSDN
accountBalance.validForobjectA period, either as a deadline (endDateTime only) a startDateTime only, or bothN
accountBalance.validFor.endDateTimedatetimeEnd of the time period, using ISO 8601 formatN
billStructureobjectThe structure of the bill for party accounts (billing or settlement).N
billStructure.cycleSpecificationobjectAn attachment by value or by reference.N
billStructure.presentationMedia.namestringPossible value "Electronic bills"N
contactarrayContact point for a given account and accessed via some contact medium.N
contact.namestringname of the contactN
contact.contactMediumarrayIndicates the contact medium that could be used to contact the party. Possible values areN
contact.contactMedium.mediumTypestringType of the contact medium, possible values are: "Phone" or "PostalAddress".N
contact.contactMedium.characteristicobjectAny additional characteristic(s) of this contact medium.N
contact.contactMedium.characteristic.contactTypestringif mediumType = "Phone" then possible values are "Home","Business"N
contact.contactMedium.characteristic.citystringThe cityN
contact.contactMedium. characteristic.countrystringThe countryN
contact.contactMedium. characteristic.postCodestringPostcodeN
contact.contactMedium. characteristic.stateOrProvincestringState or provinceN
contact.contactMedium. characteristic.street1stringDescribes the streetN
contact.contactMedium. characteristic.emailAddressstringemail address of the customerN
defaultPaymentMethodobjectThe maximum amount of money that may be charged on an accountN
defaultPaymentMethod.idstringUnique identifier ID of the default payment method. Possible values are "C" "E" ""N
defaultPaymentMethod.nameintegerPayment Method Name.Possible values are "Credit Card" "EFT" "Non Default Payment Method"N
paymentPlanarrayA list of payment plansN
paymentPlan.planTypestringstatus of autopsy. possible values are "Auto Pay Enable" , "Auto Pay DisableN
relatedPartyarrayRelated Entity referenceN
relatedParty.idstringCSG Customer IdN
relatedParty.namestringCustomer nameN
relatedParty.rolestringrole of the party. "customer"N
relatedParty.@referredTypestringReference type. "customer"N
relatedParty.individualIdentification.identificationIdstringidentityCodeN
relatedParty.individualIdentification.identificationTypestringidentityTypeN
relatedParty.titlestringTitleN
relatedParty.givenNamestringfirst NameN
relatedParty.legalNamestringLast NameN
relatedParty.birthDatestringDate of BirthN

Keyconsiderations

Liberty Caribbean Markets Implementation

AccountNo. & MSISDN Usecase

- This is implemented for postpaid and prepaid customers for LC market.
- Mandatory queryParams to retrieve available Billing Account Details: id or relatedParty.id
    - pass valid number for "id" or "relatedParty.id".

Reviews